using GRPCDemo.Protocol;

namespace GrpcClient.Models
{
    public class User
    {
        public string UID { get; set; }

        public string Name { get; set; }

        public int Level { get; set; }

        public User(NUserInfo info)
        {
            this.UID = info.Uid;
            this.Name = info.Name;
            this.Level = info.Level;
        }
    }
}
